<template>
  <div class="topRightBtn">
    <el-tooltip class="item" effect="dark" content="刷新" placement="top">
      <el-button
        size="mini"
        circle
        icon="el-icon-refresh"
        @click="refresh()"
      ></el-button>
    </el-tooltip>
  </div>
</template>

<script>
export default {
  name: 'RightToolbar',
  data() {
    return {}
  },
  methods: {
    refresh() {
        this.$emit('queryTable')
    },
  },
}
</script>

<style lang="scss" scoped>
.topRightBtn {
  position: relative;
  float: right;
}
</style>
